package daoFactory;

import dao.interfaces.*;

public abstract class DAOFactory {
	public static final int MYSQL=1;
	public static final int ORACLE=2;
	
		
		//	public abstract UsuarioDao getUsuarioDao();

	
		
	public static DAOFactory getFactoryConcrete(int opcion){

		switch (opcion) {
		case MYSQL:
			return new MySQLDaoFactory();
		case ORACLE:
			//return new OracleFactory();
		default:
			break;
		}
		return null; 
	}
}
